﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainHeadhunter.Master" AutoEventWireup="true" CodeBehind="CompareCv.aspx.cs" Inherits="LAB3_Cv.CompareCv" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ListView ID="ListViewCompareCv" runat="server" DataKeyNames="CvId" GroupItemCount="2" GroupPlaceholderID="groupPlaceHolder" ItemPlaceholderID="itemPlaceholder" OnItemCommand="ListViewCompareCv_ItemCommand">
            <LayoutTemplate>
                
            <table>
                 <tr ID="groupPlaceholder" runat="server">
                 </tr>
            </table>
            </LayoutTemplate>
            <GroupTemplate>
                    <tr>
                        <td ID="itemPlaceholder" runat="server">
 
                        </td>
                    </tr>
             </GroupTemplate>
             <ItemTemplate>
                 <td id="compareCvDiv">
                    <center> <h3><asp:Label ID="LabelCvHeader" runat="server" Text="Cv för: "></asp:Label>
                     <asp:Label ID="LabelCvHeaderName" runat="server" Text='<%# Eval("Name")%>'>></asp:Label></h3></center>
                            
                        <asp:Label ID="LabelName" runat="server" Text='<%# Eval("Name")%>'></asp:Label><br />
                    <asp:Label ID="LabelPersonNumber" runat="server" Text='<%# Eval("PersonNumber")%>'></asp:Label><br />
                    <asp:Label ID="LabelAddress" runat="server" Text='<%# Eval("Address")%>'></asp:Label>
                    <br />
                    <asp:Label ID="LabelZip" runat="server" Text='<%# Eval("Zip")%>'></asp:Label>
                    <asp:Label ID="LabelCity" runat="server" Text='<%# Eval("City")%>'></asp:Label><br />
                    <br />

                    <p4><asp:Label ID="Labeleducation" runat="server" Text="Utbildningar:"></asp:Label></p4><br />
                    <asp:TextBox ID="TextBoxEducations" CssClass="TextBoxCV" runat="server" Text='<%# Eval("Education")%>' TextMode="MultiLine"></asp:TextBox><br />
                    <p4><asp:Label ID="LabelExperiences" runat="server" Text="Erfarenheter:"></asp:Label></p4>
                    <br />

                    <asp:TextBox ID="TextBoxExperiences" CssClass="TextBoxCV" runat="server" Text='<%# Eval("Experiences")%>' TextMode="MultiLine"></asp:TextBox><br />
                    <p4><asp:Label ID="Labelmerits" runat="server" Text="Meriter:"></asp:Label></p4>
                    <asp:TextBox ID="TextBoxMerits" CssClass="TextBoxCV" runat="server" Text='<%# Eval("Merits")%>' TextMode="MultiLine"></asp:TextBox><br />

                    <p4><asp:Label ID="LabelInterests" runat="server" Text="Intressen:"></asp:Label></p4>
                    <br />
                    <asp:TextBox ID="TextBoxInterests" CssClass="TextBoxCV" runat="server" Text='<%# Eval("Interests")%>' TextMode="MultiLine"></asp:TextBox><br />
                    <p4><asp:Label ID="LabelQualities" runat="server" Text="Personliga kvaliteter:"></asp:Label></p4>
                    <br />
                    <asp:TextBox ID="TextBoxQualities" CssClass="TextBoxCV" runat="server" Text='<%# Eval("PersonalQualities")%>' TextMode="MultiLine"></asp:TextBox><br />
                    <p4><asp:Label ID="Labelmisc" runat="server" Text="Övrigt:"></asp:Label></p4>
                    <br />
                    <asp:TextBox ID="TextBoxMisc" CssClass="TextBoxCV" runat="server" Text='<%# Eval("Miscellaneous")%>' TextMode="MultiLine"></asp:TextBox><br />
                    <asp:Button ID="ButtonPrint" runat="server" Text="Visa för utskrift" />
                 
                     </td>    
             </ItemTemplate>
            </asp:ListView>
</asp:Content>
